projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fddcf9
)
Deliver useful error on unknown input type.
author
robertl
<robertl>
Thu, 17 Jul 2003 03:26:40 +0000
(
03:26
+0000)
committer
robertl
<robertl>
Thu, 17 Jul 2003 03:26:40 +0000
(
03:26
+0000)
gpilots.c
patch
|
blob
|
history
diff --git
a/gpilots.c
b/gpilots.c
index deeef52815beb7aa0fc175d0905c8fc503d087cd..60db2ec29419fa4127a7879700cf5b993e713896 100644
(file)
--- a/
gpilots.c
+++ b/
gpilots.c
@@
-282,7
+282,9
@@
data_read(void)
route_add_wpt(track_head, wpt_tmp);
tp++;
}
-
+ break;
+ default:
+ fatal(MYNAME ": input record type %d not supported.\n", rec->header.type);
}
#if 0
if ( be_read32(&rec->elevation) == -100000000 ) {